 <div style="text-decoration: none;font-size: 108%;color: #262626;font-weight: bold;outline: none;">Danh sách Quận huyện</div><p></p>

<table style="text-align: center" class="table table-hover table-bordered">
    <tr>
        <th style="width:20px">STT</th>
        <th>Quận huyện</th>

        <th style="width:60px">Thay đổi</th>
        <th style="width:20px">Xóa</th>
        
    </tr>
    <?php 
    $data = $this->list;    
    foreach($data as $item){ ?>
    <tr>
        <td style="width:20px"><?php echo $item['idq'];?></td>
        <td><a href="/admin/quan-huyen/edit?id=<?php echo $item['idq'] ?>"><?php echo $item['nameq'];?></a></td>

        <td style="text-align: center"><a href="/admin/quan-huyen/edit?id=<?php echo $item['idq'] ?>"><i class="icon-pencil"></i></a></td>
        <td><a href="/admin/quan-huyen/del/?id=<?php echo $item['idq'] ;?>"><i  onclick="return confirm('Are you sure?')" class="icon-trash"></i></a></td>
       	
    </tr>
    <?php } ?>
</table>

